from cmath import sqrt


class MyMatch:
    """一个工具集"""
    def add(self, x, y):
        return x + y

    def min(self, x, y):
        return x - y

    def mul(self, x, y):
        return x * y

    def div(self, x, y):
        return x / y

    def power(self, x, y):
        return x ** y

    def root(self, x):
        return sqrt(x)


class Man:
    """身边类，一个人类"""
    def speak(self):
        return "你好"

    def coding(self):
        return "我会敲代码"

if __name__ == '__main__':
    math_ = MyMatch()
    print(math_.add(5, 3))
    print(math_.min(5, 3))
    print(math_.mul(5, 3))
    print(math_.div(5, 3.0))
    print(math_.power(5, 3))
    print(math_.root(5))